package com.snail.readyvr.util;

/**
 * Created by MRKING on 2016/10/10.
 */

public class ApiException extends RuntimeException {
    private int code;
    private int whichApi;

    public ApiException(int code, String message, int whichApi) {
        super(message);
        this.code = code;
        this.whichApi = whichApi;
    }

    public int getCode() {
        return code;
    }

    public int getWhichApi() {
        return whichApi;
    }
}
